<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let num1 =+prompt('第一个值');
        let num2 =+prompt('第二个值');
        let num3 =+prompt('第三个值');

        if (num1 > num2 && num1 > num3) {
            console.log(num1);
        }else if(num2 > num1 && num2 > num3){
            console.log(num2);
        }else if(num3 > num2 && num3 > num1){
            console.log(num3);
        }
    </script>
</body>
</html>